cannot break an if loop (duh), if condition instead