Added a status, error to each function to track progress
Added a status, error to each function to track progress