add default, move the getElapsedTime to the prototype