Updated to create instances