migrate customise inputs and outputs complete
started migrating customise error needs testing