sample code for schizo implementation