create instances autoamtically