added checks to checkstyle