cast to int, $tmembers avaitable since __costructor