changed data types to float from decimal