making code self-contained by pulling in css file