Added 3 functions