add check for floats