cleaned up old code, added missing style sheet