towards more general equatiosn