added mesh input