Switches to size_t instead of ulong