create element to handle drawing