<P> In his blog, he writes that he is the Director of WHO DID THIS . The company he works for, Altrucell, advertises itself as the world's largest producer of the felt covers of tennis balls; however, Future Ted implies that the company's main profits come from other, less innocent sources, such as logging, oil drilling, small arms, tobacco farming and missile construction . Barney states in "Cupcake" that, as a lawyer for Altrucell, Marshall would make more money in three months than he and Lily make in a year because his company has so many lawsuits against it . In the season 3 episode "The Bracket," he says that he is good enough at lying to avoid perjury charges . As of Season 4, his company is involved in a hostile takeover of Goliath National Bank (GNB) and consequently shifts him to the management team of the bank, but he remains a powerful executive and continues to use the same office he has had since it was first shown in Season 1 . Despite this, he has suggested there is the possibility he will one day wash up on shore with no teeth or fingerprints and supposedly has come under attack by ninjas in the past during work . In Season 4, during the episode "Happily Ever After", Barney states to a woman that he is an "Attorney in Law", though this was probably just part of a pick - up line as he immediately followed it with "Let's talk about getting you off". His video resume was published in Season 4 episode "The Possimpible". In a season 8 episode, it was implied that the full extent of Barney's career might never be revealed . </P> <P> In the Season 9 episode "Unpause", he drunkenly reveals that his job is to "Provide Legal Exculpation And Sign Everything" (P.L.E.A.S.E.), setting him up to be the fall guy for his company's nefarious activities . Unknown to his company, he has been conspiring with the federal government as part of a long - term plan to get revenge on his boss, who stole his girlfriend prior to the start of the series . </P> <P> Ted is Barney's self - proclaimed best friend and "wing man". They meet in 2001 at MacLaren's, and Barney takes it upon himself to "teach Ted how to live". While Ted is often annoyed by Barney's antics, he considers him a good friend, and in "Miracles," says that Barney is like a brother to him . Their friendship has been tested, however; in "The Goat", Ted finds out that Barney and Robin slept together and ends their friendship, and refuses to speak to him for several episodes . In the third - season finale, "Miracles", however, Ted forgives Barney after Barney severely injures himself while trying to help him . They remain an important part of each other's lives for the rest of the series, with Barney comforting Ted after he is left at the altar in "Shelter Island" and Ted teaching Barney how to be a good boyfriend to Robin in "Robin 101". Ted is the best man at Barney's wedding, and, along with the other main characters, is present for the birth of his child . </P> <P> Barney meets Marshall around the same time as Ted, and takes it upon himself to give Marshall unwanted advice on picking up women . While Marshall makes fun of Barney's promiscuity and ethical lapses, however, Barney has helped him many times throughout the series . For example, Barney gets him an internship at Altrucell in "Life Among the Gorillas", keeps him from sleeping with other women in "The Scorpion and the Toad", persuades Lily to come back to him in "Bachelor Party", and gets him a job at Goliath National Bank in "The Best Burger in New York". Barney is "co-best man" with Ted at Marshall's wedding . Along with the other main characters, Marshall is present for the birth of Barney's daughter . In the episode "Slap Bet", Barney loses a bet with Marshall and agrees to let Marshall slap him five times at random occasions "throughout eternity". This is later extended to eight slaps in the episode "Disaster Averted". Marshall administers these slaps in the episodes "Slap Bet", "Stuff", "Slapsgiving", "Slapsgiving 2: Revenge of the Slap", "Slapsgiving 3: Slappointment in Slapmarra", and "The End of the Aisle". </P>

When does barney tell robin he loves her