Rename your start() function and everything that references it. Call it startTimer() and stopTimer(). You are running into a naming conflict.