Created a dendrite constructor