Fixed a small bug with picture and added a new, simple function.