probably should change variable naming