fixed the second public method interface