class allowed for container