abstracted away plant clickfunction