implement scaffold