having autocomplete and calendar working