renamed getInstance to newInstance