saving method - attributes