modifications to dep var module