adding main programs