data is saved to sqlite