return empty if alphacode list is not given