added method to list branches
cleanup