minor improvements and publish