lots of random works in progress, moving them out of the src directory.
working sidewall function.