fix the instructions
implement push/popState management for history