adding total methods with high complexity