link these with main