changed getter to nonstatic