thanks to doom for adding all this stuff!