moved struct to a compiling position