added method comments.