Check Aum59's faq to see a simple, fully functional example.