added position adjustment