new structure , power library moved to test file