Setting up functions for new ideas, cleaning up.