remove complexity in mapping banner class