converted indentation to spaces.
converted indentation to spaces.
removed unused defn floor.