removing ref caching (to be handled later)