[MOD] Converted to work with SDK2