raise logic