trait class view