use getParameter to check for value of bare