test added
added floor func