timespec can be used to select seconds as well