fixed compiler and examples