add return value for print