Moved local to testing