change B.Boolean to bool type parameter
add missing line