working on improving post ranking implementation