simplified condition in uva11292