removed greater than function inmodule