if how to structure a code according to a question was dine it would be good