made small plant code easier to read