updated with boolean value