removed unused code, see #4