applying code formatting, passed checkstyle