implemeted the other two methods and changed some processMethods code