add resource layout