Changed int attributs into size_t attributs