adding layout load method