corrected GetTips() example