Added port read in addition to port write