removing examples that were refactored into classes
add no-arg functions and use those instead of storing in local var