added externs so we dont have to pass physics