added random picker for plants
restructured code