deleted foo function