main ref