remove almost all prints to optimise performace