added docs for structor