add scrutinizer
Removed some redundant code.