switched to class based view for Transient