working on position controller