refactor Malefic logic by adding an archtype identifier