Renamed function
Cleaned up examples, minor changes