Added Nam's changes, interactive console