simplified, removed unnecessary libs