7th version
added new libs, fixed bugs