macfs solved assignment