laba_c function main