added function application to parser - first implementation