Updated output method