looks good, exit transitions are broken now
simplified
removed useless comments
a bit weird, but working 95%