got print working for numbers
merged in vicky's changes