added hint-function