Added the basic assignment functionality