Removed unused get_timestamp function