merge crack method into constructor