sample code stored in cload