Better code check