insert app method