added console back-end functionality