replaced get methods with property decorator