resized canvas and words and added small funcs