added date to instance, code to slots.