simplifying a bit