somestuff before heavy analysis