added number rotation & element drawing