now handles greater than. this resolves #3