assign pointer right