Code for vairous programs