implemented proper clip example