added method description

still need to write the logic inside