method snipet