Updated function definition to reflect void nature of function.