oops on adding correct function