Fixed syntax of object creation