Made a sheet. Cleanup to some library functions.