Add function for drawing background