added acondition in the else for non progam specific