I'm a dummy, move code block to proper place