fixing first error james mentioned related to not being abel to find instance of function