remove commetout to write database