changed logic
testing
refactored if statement