Rename throw function to output