CHANGED:applied the output requirement implementation;