removed uint from old code