added custom parser functionality