reduce complecity