reduce repetition for scrutinizer
reduce complexity for scrutinizer
reduce method length for scrutinizer