With error checking pero not yet done :(