sample code for schizo implementation (refer branches)