Change it to accept doubles