Atlas switchcase analysis

created its own branch