adapted to simple parser format