Yeah that is the correct format of the code