fixed errors and added CSS