Added branch parsing