changed int to float