gettign rid of printf stuff