how the progra works