Adding read / write to pins