vacancy functions