added basic ref types