added micropost functions