rename name variable to objectName