Created a few functions that will be used soon