show us what you have tried, with a compilable example. Otherwise we have to guess at what you may have done wrong.