tried to get result to return 0 when wrong floor is picked