implemented clip scaffold