simplifying create and insert