cleaned up and added the remaining function descriptions