Discovery function is ok