Added a method called writeThenRead