Added bool and assign