Changed names of methods to better explain their purpose