Changed const to float