Began writing function for personal.