a working local implementation
added basic css styling