added foo method