simplifying configure