prevent re-initialising class for each call