Test: new function

draw function but there is something wrong, function cannot work