labelenconder + logging + data