Recreating Details table