Added skeleton of functions.