compiles....creates and opens