basic if else ambiguity removed

files added