changes for generate label