I've reused @xeno-by 's code. It's exactly like that.