Adding capture property to move