delete function
working
bug in adding program, no program manager is assigned