further implementation of reshape