extra method to get all data for last x seconds