Move inside if