refactored number 4