Cleaned up example