added detailed logging of submission