generalized overlay