take values from result