added currency validator