Added micropost function