used better method for displaying currency