added director functionality