Added main
Added foo method