adding foo method