Changed locals to statics