Added error code to return value