changed manul code inserting