[ADD] credits for Pahimar and his EE3 code (used as base for this)