First version. Much simple. Very global scope.