formatting for psr-2