// unsafe but seems to work