Done, checking for bad code