got refs working