compatibility and speed improvements