refactoring place plants view