added console to index