typhint example added