stylesheet and timer connected