added method functions