added some general function skeletons