adding error message and relocating