init random labels method added