create proper instance