Improves if statement