cleaned up tutorial