oops, forgot to remove the var name
substring should not include the dot