     setIncr: function (inc) {
                incr = inc;
            },

            setNextTile: function (tile) {
                nextTile = tile;
            },
        }
        return interface;
    }

    function secondsToTime(secs) {
        secs = Math.floor(secs);
        var hours = Math.floor(secs / 3600);
        secs -= hours * 3600;
        var mins = Math.floor(secs / 60);
        secs -= mins * 60;

        if (hours < 10) {
            hours = '0' + hours;
        }
        if (mins < 10