added converts to jpeg