update specs to pass with rearranged code