adding length and connection orientation to decorator