working on assignment A