Add read all function