add while to read DS1307