completed tutorial prototype