Add simple sketch function.