Finish base for library, handle hex number