make pre and img first class citizens