made attributes private