adding support for homogenous problems