attend method added