Switched to port write and read