Small refactory for better understandment