simplification of some things