-read from file works
-init seems to work
crashes at intersection function