updated to conform with checkstyle