Added assignments
Added miscellaneous code