statusCode should simply be typecasted to an int