add generic case