addad logging and tested basic submition process