Fixed visibility of a method and added a like break