create activity ups algorithm