some initial simple compiler checks