adding select graph and key (id) to inputconsole