hook up booleans properly