for labs and C codes