Corrected incorrect object constructor syntax