added auto-complete directive