Just Random pieces of code that might be useful