added some refs for pointers