You add() function needs an argument (F) which you're not passing. Remove the F argument from the functio add(F) declaration and it should work (or at least call add()).
update: it looks like ikegami is right about select having an add method. See his reply.