compiler stuff, function calls and work on terrain generator