related post refactor