Potato implementation.