add main and askparam