Code smell?