added two new methods