Changed times from int to float