formatting as psr1 & psr2