PWA Block 3

working on functions