Added missing return value to remove compiler warning