working on registering portable library...