modified conditional to >=