adding handling for the cases where the data isn't preset