Added setModifier() Method

I added the layout for the code, it just needs to be finished and implemented.