have to fix the  printing part