Failed attempt at clever memory trickery