random code::blocks shenanigans