added exp and if for ms 4