def and assign