added parser methods, dtree