set up prototypes for code  execution. Need to digress into pthreading before finishing