Reduced the complexity