Created some Functions