restructure show post method