code added to for asset auto-completion feature