Updated readme

added static function example