insert written and tested