added method kernel method