use get\set method in pos.js