can write to a database