added method declaration