printf rubbish removed