Made args into instance because I got tired of passing them around functions. Not sure if this is standard practice.