change type of result