removed unneeded extern