refactor, remove less than method