code to insert people