Use interfaces_map instead of multiple variables