adv functions and blank functions