Added code and image histogram