Implemented multiple outputs