added implementation used to create error
i knew this would come back to bite me in the ass