production ready, added analdded anallytics