Updated pythonic version of 118 morphology