changed from int64 to int32