implementing sample script