fixes multiple definitions of greater