creating var directory