add a printstr routine