working backup before restructuralization of input data