Timer can now take miliseconds as input