errors at my attempt to instantiate GiftView