modified and tested aurrogate construction