added console interface and play function