ADDED XLS FUNC
merged and fixed