filling in the reamining methods