Checked for NULL response from sim function