added mini-clib