removed errored functino call