removed reshape dependency