documentation added
added float to test