add proc lequal
Make boundName and boundValue optional