add in a branches method to logs