basic printing --very hacky