I'm a shamed, because I had lots of errors and didnt know when to use -> or when to use . So I just was using some trial and error. But It seem it had nothing to do with that