changed ouput format