more semantics in js
no switching if already same section in interfaces