sample smell code