Main code compiles successfully