Check the SMILE tool for an example.