Added width and height to recording object