some specs and migration