added new structure, added docs