Added uid the constructor call