add rest of console api