working code without styling