refactored simple symbols challenge