Reads data from frame and also checks if it is conistent