implement reference view