typedefs - before main pls David