database working
Analytics added