added pointers to controls