code for the ASOC platform