added triple expansion work
expand tool done