cleaning the code

deleted the subcodes that are not needed for EmInInn