compiles and does not crash