add dialog; add basic data processing