First expĺoration code. Needs refactoring.