used only for testing purpose