more fast (15-20%%) without try-except and exceptions