add console interface