added property functions instead of some variables in result class