add smelly_grue logic