test using print function instead of write()