Added the first 2 functions