work on optic flow testing code