working on ObjectScript implementation