I’m sure there’s a safer way to do this