refactored response status line to call static method