COASLECE function was generated incorrectly