Typo and changed type to float