not a good idea... you should assign your point to attributes which match your class