gotta debug this random choice thing and check on granularity