added method comments