changed some formatting with the add method