Generalized work