inserting into database should work now