added wish function