first pass at play-pattern. I think it is crashing at timer_create, but need to investigate further