Add 2d part of terrible python patterns