fixed two funcs in Paint that had no return type