Removed unnecessary methods and added a comment