improve encapsulation. return a boolean value on stored procedure call.