added vis to directive