setting up directory for encapsulation assignment