changed static to nonstatic