New mini-lib for engine