added render for Method and While and TESTING