added the ability to accept an argument for a picture as well as a picture