Implemented raise function.