Building skeleton of functions