adding attributes saving correctly.