scrappy code