observer partial codes