saved snippet from failed attempt to enumerate micropost types