shouldn't this be part of a different JS file?