Added not so much useful function for helper (but it works).