adds program control