Started prototyping problem logic.