Fixed raise-into function