compile and logic errors