kinda working
switching to db
switching to sqlite