don't need pointer references use local copies insead'