You're right. I'll make rewrite this in nicer way.