functioning floor text: code cleaned