I already don't like this ref