many minor improvements of interface