remove print_presence_map function and macros