changed greater than to greater than equal