Browsing the signature to get the idea of the code - http://c2.com/doc/SignatureSurvey/