Added function descriptions and noted concerns in comments