first step of moco scala