change param name to indicate that it's boolean