a ref code