modified sample layout