trailing comma removed, codepage guard