modified to generate more labls