a small utils library