seperate render method to background and border