[data] implemented faster method to
cosmetics
[PEP8]
minor