added begin rendering