libs and ML library stuff