1 fixed issue #3, added functionality to manipulate image as many times as you want