simplified 001 and solved 002