most recent version with test suite, edit and delete functions still to be fully actioned