added files for two main programs