Parser implementation of functions