working on core2js