Yes, I wrote this right before commiting, it's not tested. I might be confused by the many many layers in this project ;)