I have done some very basic timing changes here… perhaps this example will give you something to work from.