modified coding style according to psr-2 standards