using different refs