Finished the center directive and testing