Properly using NewObject

NewObject ;] now it works ok