greater to or equal to added to second if statment