code clean
array & serialization methods