add ref components