enhancements by Håvard Moen <post@haavard.name>