got the db insert to work