added factory for header images