cleaned up most of the static variables throughout the class, except the overall task number which is supposed to used