finished function parser