added a third method