Added enquire error-checking