slight improvements to interface.