Text this: Generalized preinvex functions and their applications