added console entry point