changed access to float inputs (quick and dirty)