gah finally get example working