made changes to satisfy phpcs