added function for reading data - for verifying