drawPoster function working