added return var for print