updates to .functions