add position analog to es6