added inpout32 code