add additional programs and fix api