generate scaffold for entry and location