add simple ADT + new parsing function