factored away unnecessary function, passing spp to feature insted of reinitializing