removed the hardcoded arguments, and commentded the funciton up a bit