Creating drawing_functions