working with readObject!!!!!!!!!!!!!