removed unneeded branches