Removed debug if