added events & sqlitehelper