replaced jpg 5 and 8