working on using timestamps instead of ids