more work on connecting vector layers