Added exit; in the end