small improvements to minimal