Refactor and change word floor to level.