Replaced int with size_t where appropriate, item descs