added ViewProxy parameter to join function