rials tutorial