removed duplicate function that was obscured by a newer one occuring later in the file.
newer one does same as first one with addition of setting device time.