Added a simple function.