complete with a small bug