added symbol declarations and submit method