bug fixes and new utilities added