Added check on objects' elements