deleted test main func