moving local for debugging