Code from class for everything but trickledown