Updated to use tuque API. Fixed coding violation.