add new method foo

add a foo method
ignore all *.bak files