Added comments for each method