renamed creation function.