Modified code .. no idea what it does.