Expanded parser. Will not recognize multiple functions/kernels?