database insertion support