submits to database, need to serialize or something