standard from assignment 6