handles basic assignment