add some features, connect adding dict to main logic