master: adding parsing format loop