applied consistend code style