explained WMIB and renamed confusing function