better naming: branch vs ref