location: improve documentation
interval: bunch of improvements and documentation