for using the result on users' side