check >= condition as well