version which compiles but with Segmentation fault error