added common and main_ping