reformatted code to PSR2