add functions about getting chosen items