correct work of repost
helper, need refactoring