Added a bunch of functions and possibilities.