fixed bugs and linked the css file