added code smells