custom functions work minus the duplicate calls to functions
Merge branch 'master' of http://github.com/puconghan/plt