TO working completely now. Started IFELSE