first working version
added HHCS libs