use print functions (make it 3.x compatible)