adding a method to get get From instance