Introducing some functions.