read, make copy, try to compile