updated functions: