making some libs of my own