Working for all given test programs!