added two convenience methods