Removed unneeded comment on /?/ and added 'pos' argument to validPosition function