use named functions for better stack traces
Merge pull request #2 from ZauberNerd/named-functions

use named functions for better stack traces