added if exercise