Halfway through adding error/reply message...not done yet!