Something like this. And I seem to run into a bug!