helper functon for body id