parser the beginning