got morph tree detection working