refactored learn more script