Added part 2 of internal functions exercise