accessing a property to a class

Signed-off-by: zahid <zahid.riad@gmail.com>