starting to add functions