separate out references