refactored header method to 2 lines