Making syntax changes to make function more clear.