Added template for selector