I think we dont need to store this to $status variable po. Right after the process is done we can immediately return the result, same goes for the catch statement.